#pragma once

#include <stdlib.h>
#include <stddef.h>
#include <stdint.h>


#include "land_def.h"

#ifdef LAND_WINDOWS
    #ifdef LAND_GRAPHICS_EXPORTS
        #ifdef LAND_GRAPHICS_CORE
            #define LAND_GRAPHICS_API    __declspec(dllexport)
        #else
            #define LAND_GRAPHICS_API    __declspec(dllimport)
        #endif
    #else
        #define LAND_GRAPHICS_API		extern
    #endif
#else
    #ifdef LAND_GRAPHICS_EXPORTS
        #define LAND_GRAPHICS_API 		extern
     #else
        #define LAND_GRAPHICS_API
    #endif
#endif



#define LAND_MAX_SHADER_SOURCE		8
#define LAND_MAX_UNIFORM	        32

#define LAND_FONT_SLOT_RATE	32
#define LAND_FONT_SLOT_COUNT	(LAND_FONT_SLOT_RATE * LAND_FONT_SLOT_RATE)